using UnityEngine;

public class TagyIdCell : MonoBehaviour
{
    public int id;
    [SerializeField] private GameObject GridCellObj;
    private void Start() 
    {
        GridCellObj = GameObject.FindGameObjectWithTag("GridTagy");
    }
    public void Click()
    {
        GridCellObj.GetComponent<TagyLogic>().MoveCell(gameObject);
    }
}
